//localStorage
{
  // console.log(window.localStorage);
  localStorage.setItem({ name: 1 }, { name: 2 })
  localStorage.setItem(1, 2)

  let ary = {
    code: 0,
    data: {
      page: 1,
      limit: 10,
      list: [
        {
          course: 18,
          subject: 15,
          fire: 3,
          price: 180
        },
        {
          course: 18,
          subject: 15,
          fire: 3,
          price: 180
        },
        {
          course: 18,
          subject: 15,
          fire: 3,
          price: 180
        },
        {
          course: 18,
          subject: 15,
          fire: 3,
          price: 180
        }
      ]
    },
    msg: 'ok'
  };
  localStorage.setItem('someJson', JSON.stringify(ary));
  let json = localStorage.getItem('someJson')
  let uk = localStorage.getItem('uk')
  // localStorage.removeItem('someJson')
  // localStorage.clear()
}
{
  // sessionStorage.setItem('a','123123')
}
